import request from '@/util/request'

// 获取学生列表
export const getStudentListAPI = () => {
  return request.get('/my/student/getList')
}

// 添加学生
export const addStudentAPI = (data) => {
  return request.post('/my/student/addStudent', data)
}

// 根据student_id删除学生
export const deleteStudentAPI = (student_id) => {
  return request.post(`/my/student/deleteStudent`, { student_id })
}
